#pragma once
#include <mutex>
#include <QOpenGLContext>
#include <QQuickView>
#include <QQuickWindow>
#include <QQuickItem>
#include <QOffscreenSurface>
#include <QSGSimpleTextureNode>
#include <QThread>

class QRenderer : public QQuickItem {
	Q_OBJECT
public:
	QRenderer();
   
protected:
	QSGNode *updatePaintNode(QSGNode *, UpdatePaintNodeData *) override;

	void keyPressEvent(QKeyEvent *event) override;

private:
};